home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / SecalDemo / Inc / prefs / printertxt.inc < prev    next >
Encoding:
Text File  |  1997-06-11  |  1018 b   |  59 lines

  1. include "inc/exec/types.inc";
  2. include "inc/libraries/iffparse.inc";
  3.  
  4. def DRIVERNAMESIZE = 30;
  5. def DEVICENAMESIZE = 32;
  6.  
  7. struct PrinterTxtPrefs is
  8.   pt_Reserved[4]:long;
  9.   pt_Driver[30]:ubyte;
  10.   pt_Port:ubyte;
  11.   pt_PaperType:uword;
  12.   pt_PaperSize:uword;
  13.   pt_PaperLength:uword;
  14.   pt_Pitch:uword;
  15.   pt_Spacing:uword;
  16.   pt_LeftMargin:uword;
  17.   pt_RightMargin:uword;
  18.   pt_Quality:uword;
  19. ;
  20.  
  21. def PP_PARALLEL = 0;
  22. def PP_SERIAL = 1;
  23.  
  24. def PT_FANFOLD = 0;
  25. def PT_SINGLE = 1;
  26.  
  27. def PS_US_LETTER = 0;
  28. def PS_US_LEGAL = 1;
  29. def PS_N_TRACTOR = 2;
  30. def PS_W_TRACTOR = 3;
  31. def PS_CUSTOM = 4;
  32. def PS_EURO_A0 = 5;
  33. def PS_EURO_A1 = 6;
  34. def PS_EURO_A2 = 7;
  35. def PS_EURO_A3 = 8;
  36. def PS_EURO_A4 = 9;
  37. def PS_EURO_A5 = 10;
  38. def PS_EURO_A6 = 11;
  39. def PS_EURO_A7 = 12;
  40. def PS_EURO_A8 = 13;
  41.  
  42. def PP_PICA = 0;
  43. def PP_ELITE = 1;
  44. def PP_FINE = 2;
  45.  
  46. def PS_SIX_LPI = 0;
  47. def PS_EIGHT_LPI = 1;
  48.  
  49. def PQ_DRAFT = 0;
  50. def PQ_LETTER = 1;
  51.  
  52. struct PrinterUnitPrefs is
  53.   pu_Reserved[4]:long;
  54.   pu_UnitNum:long;
  55.   pu_OpenDeviceFlags:ulong;
  56.   pu_DeviceName[32]:ubyte;
  57. ;
  58.  
  59.